
<style>

    th,td{border:1px solid gray;}
    tr{height:50px;}
</style>
<div class="modal-header">
    <h4 class="modal-title">维护记录表</h4>
</div>
<div class="modal-body clearfix" >
    <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer" style="display: table; width: 100%;table-layout:fixed;">
               <thrad>
                <tr >
                    <th style="width: 5%;text-align:center;vertical-align:middle;padding:0px;">序号</th>
                    <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">风险点名称</th><!--<br>检验单位-->
                    <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">责任人</th>
                    <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">手机号</th>
                    <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">维护周期</th>        
                    <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">预计维护日期</th>
                    <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">实际维护日期</th>
                    <th style="width: 8%;text-align:center;vertical-align:middle;">操作</th>   
                   <!-- <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">三次提醒时间</th>
                    <th style="width: 10%;text-align:center;vertical-align:middle;padding:0px;">提前提醒天数</th>
                    <th style="width: 7%;text-align:center;vertical-align:middle;padding:0px;">维护状态</th>
                    -->
                </tr>
                </thrad>
                <tbody> 
                <tr ng-repeat="info in a">
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{$index+1}}</td>
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{name}}</td><!--<br>{{info.inspection_unit}}-->
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.r_name}}</td>
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.r_mobile}}</td>
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.maintenance_cycle}}天</td>
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.latest_maintenance}}</td>
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.this_maintenance}}</td>
                    <td  style="text-align:center;vertical-align:middle; "> 
                        <button type="button" class="btn btn-info btn-xs" ng-click="showpic(info)">维护图片</button>                                              
                   </td>
                    <!--<td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.third_remind}}</td>
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">30天</td>
                    <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.maintenance_status}}</td>
                    -->
                </tr>
                </tbody>
            </table>
            <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
             <div class="text-right" style="background-color: white">
            <pagination 
                total-items="totalItems" 
                ng-model="currentPage" 

                ng-change="pageChanged()"
                previous-text="上一页"
                next-text="下一页"
                first-text="首页"
                last-text="尾页"
                max-size="5"
                boundary-links="true"
                rotate="false"

                items-per-page="itemsPerPage"
                class="m-t-none m-b"></pagination>


            </div>
</div>
<div class="modal-footer">
        <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="cancel()" style="margin-left: 10px">关闭</button>
</div>

